#include("/static/themes/default/inc/layout.html")
#@layout()
#define css()
    <link href="/static/themes/default/static/libs/viewerjs/viewer.min.css" rel="stylesheet">
    <link href="/static/public/libs/highlight/styles/atom-one-dark.css" rel="stylesheet">
    <link href="/static/themes/default/static/libs/notyf/notyf.min.css" rel="stylesheet">
    <link href="/static/public/libs/perfree-comment/perfree-comment.css?v=#(version)" rel="stylesheet">
    <link rel="stylesheet" href="/static/themes/default/static/css/journal.css?v=#(version)">
    #include("/static/themes/default/inc/custom_bg.html")
#end
#define content()
<div class="d-wrapper">
    <div class="d-banner">
        <div class="d-hero-box">
            <h1 class="d-hero-title wow fadeInUp" data-wow-duration="0.2s">动态</h1>
        </div>
    </div>
</div>
<section class="d-container">
    <section class="d-container-left">
        <div class="d-post-list">
            #journalPage(pageSize=8)
                #for(article: journalPage.data)
                    #include("/static/themes/default/inc/journalItem.html")
                #else
                    <span class="d-no-content">暂无文章</span>
                #end
            #end
            #pageRender(journalPage, preText="上一页",nextText="下一页", pagerBoxClass="m-pager-box wow fadeInUp")
        </div>
    </section>
    #include("/static/themes/default/inc/right.html")
</section>
#end
#define script()
<script src="/static/themes/default/static/libs/viewerjs/viewer.min.js"></script>
<script src="/static/themes/default/static/libs/viewerjs/jquery-viewer.min.js"></script>
<script src="/static/public/libs/highlight/highlight.pack.js"></script>
<script src="/static/themes/default/static/libs/notyf/notyf.min.js"></script>
<script src="/static/public/libs/perfree-comment/perfree-comment.js?v=#(version)"></script>
<script src="/static/themes/default/static/js/journal.js?v=#(version)"></script>
#end